import { normalizeContainer } from '../../../../../../../global/element/Func';
import { id_split } from '../../../../../DataDefine/sourceData';
import { uni_comps_keyVal_event } from '../../../DataDefine/sourceData';
import {
  ns_fom_event_func_id,
  ns_form_event_select_id,
} from '../DataDefine/sourceData';

const ns_form_event_staticNodeTag = 'ns_form_event_staticNode';

class ns_form_event_staticNode {
  get [Symbol.toStringTag]() {
    return ns_form_event_staticNodeTag;
  }

  constructor() {
    this.event_dispatch_dom = normalizeContainer(
      ns_form_event_select_id + id_split + uni_comps_keyVal_event
    );

    this.event_func_dom = normalizeContainer(
      ns_fom_event_func_id + id_split + uni_comps_keyVal_event
    );
  }

  /**
   * 元素 启动事件
   * @type {HTMLSelectElement}
   */
  event_dispatch_dom;

  /**
   * 元素 绑定事件
   * @type {HTMLInputElement}
   */
  event_func_dom;
}

export { ns_form_event_staticNode };
